package modelo;

import java.util.List;

import net.sf.jasperreports.engine.JRDataSource;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;

public class Reporte {
	List compras_ds;
	List ventas_ds;
	List pagos_ds;
	
	
	public Reporte() {
		super();
	}

	public void setListas(List compras,List ventas,List pagos){
		this.compras_ds=compras;
		this.ventas_ds=ventas;
		this.pagos_ds=pagos;
	}

	public JRDataSource getCompras_ds() {
		return new JRBeanCollectionDataSource(compras_ds);
	}


	public JRDataSource getVentas_ds() {
		return new JRBeanCollectionDataSource(ventas_ds);
	}


	public JRDataSource getPagos_ds() {
		return new JRBeanCollectionDataSource(pagos_ds);
	}
	
}
